HOST="http://192.168.22.32:2046";

export URL="$HOST/search?index=mysql&q=%E6%90%9C%E7%B4%A2&matchmode=SPH_MATCH_EXTENDED2&rankingmode=SPH_RANK_PROXIMITY_BM25&sortmode=SPH_SORT_RELEVANCE"

export TURL="$HOST/search?index=mysql&q=+%E6%90%9C%E7%B4%A2+%7C+%E5%9B%BD%E5%AE%B6+%7C+%E7%BE%8E%E4%B8%BD+%7C+%E9%AB%98%E6%95%88+%7C+%E5%AE%8C%E5%85%A8+%7C+%E5%8A%A8%E7%94%BB+%7C+%E8%BF%B7%E9%80%94+%7C+%E6%AF%8F%E5%A4%A9+%7C+%E6%AF%8F%E6%AC%A1+%7C+%E5%90%84%E4%B8%AA+&matchmode=SPH_MATCH_EXTENDED2&rankingmode=SPH_RANK_PROXIMITY_BM25&sortmode=SPH_SORT_RELEVANCE"

#ab -k -n 10000 -c 100 $URL 
#ab -n 10000 -c 1 $URL 
#ab -n 10000 -c 1 -k $URL 
#ab -n 10000 -c 10 $URL 
#ab -n 10000 -c 10 -k $URL 
ab -n 500 -c 10 $URL 
exit
ab -n 10000 -c 100 -k $URL 

ab -n 10000 -c 1 $TURL 
ab -n 10000 -c 1 -k $TURL 
ab -n 10000 -c 10 $TURL 
ab -n 10000 -c 10 -k $TURL 
ab -n 10000 -c 100 $TURL 
ab -n 10000 -c 100 -k $TURL 
